package com.boboPlanet.enums;

public enum GatewayErrorEnum {
    AUTHORIZATION_TOKEN("10001", "用户登录信息为空,请先登录"),

    LOGIN_OPE_QUEST("10003","登录过快,请稍后操作!!!"),

    USER_STATUS_IS_LOGIN("10004","用户已经登录,请勿重复登录,请退出后登录!!!"),

    USER_LOGIN_ERROR("10002", "用户登录信息错误,请重新登录");

    private String code;
    private String msg;

    private GatewayErrorEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private GatewayErrorEnum() {
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}